﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
namespace Li.EntityFramework
{
    public class EFDbcontext:DbContext
    {
        public EFDbcontext() : base("Data Source=.;Initial Catalog=MyIoc;uid=sa;pwd=123456")
        {
        }
        public DbSet<User> users { get; set; }
        public DbSet<Article> articles { get; set; }
        public DbSet<Role> roles { get; set; }
    }
}
